<script>on mouseUphide msgask "Zoom window to 7) user state or 8) smallest fit"if it is not in "0178" then exit mouseUpdoMenu "Finder"wait until the suspendedFinderEvents "zoom", folderPath(), itif the result ≠ "" then put the resultwait 2 secsdoMenu HyperAppName()end mouseUp</script>
<text>This event zooms the window to the state specified. It is the same as clicking in the zoom box of the window except that this can control which way the zoom goes.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.The stateInteger is 7 for the user state and 8 for the smallest possible window.</text>
</content>
<name>Zoom Window</name>
<script></script>
</card>
card_4395.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgFinderEvents "slep"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Sleep</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event puts the machine to sleep if it is capable of it. Sleep is a low power state provided for in the Macintosh portable line. This event does nothing on machines without this capability.</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "slep"</text>
</content>
<name>Sleep</name>
<script></script>
</card>
card_5107.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msganswer "Are you sure you want to Shutdown your computer?" with "No" or "Yes"if it ≠ "Yes" then exit mouseUpFinderEvents "shut"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Shut Down</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event shuts down the machine as if the Shut Down menu item in the Finder were selected. The Finder shuts down all open applications while allowing them to save their files and then shuts down the machine and switches it off if possible.</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "shut"</text>
</content>
<name>Shut Down</name>
<script></script>
</card>
card_3926.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "shcl"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Show Clipboard</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event causes the Finder to display its Clipboard window. This is the same as selecting the Show Clipboard menu item in the Finder.There is no way to close this window.</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "shcl"</text>
</content>
<name>Show Clipboard</name>
<script></script>
</card>
card_6117.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sprv", folderParentPath(), folderName()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Disk Privileges</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sprv", "", diskName()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>310</top>
<right>141</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Hypercard Privs</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedget long name of Hypercardset itemDelimiter to colonget long name of Hypercarddelete last item of itFinderEvents "sprv", it, last item of long name of Hypercardif the result ≠ "" thenput the resultdoMenu HyperAppName()end ifset itemDelimiter to commaend mouseUp</script>
<text>This event brings up the Sharing dialog for the specified application(s), disk(s) or folder(s). Since documents cannot be shared, they cannot be specified in this list. If an application is specified and linking is not on, the Finder will display a dialog asking if you want to turn linking on.The parent path is the pathname of the parent folder which holds all of the items in the folder list. This should not end in a colon unless it is a disk name.The folder list is a single folder name (not a pathname) or a comma delimited list of folder names.If you want to get sharing info on a disk, then the parent path should be empty and the folder list should be the disk’s name with a colon after it’s name.</text>
</content>
<name>Sharing</name>
<script></script>
</card>
card_9698.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgask "Set view to 0) Small Icon, 1) Icon, 2) Name, 3) Size, 4) Kind, " & ¬"5) Label, 6) Date, 7) Version, or 8) Comment"if it is not in "012345678" then exit mouseUpdoMenu "Finder"wait until the suspendedFinderEvents "view", folderPath(), itif the result ≠ "" then put the resultend mouseUp</script>
<text>This event changes the view in the selected window to the state specified. If the window is not open then this will open it before changing the view.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.The stateInteger is one of the following numbers:0) Small Icon1) Icon2) Name3) Size4) Kind5) Label6) Date7) Version8) Comment</text>
</content>
<name>Set View</name>
<script></script>
</card>
card_6296.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "srev", folderPath(), short name of this stackif the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Reveal Folder</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "srev", folderParentPath(), folderName()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>310</top>
<right>141</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Reveal Disk</name>
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "srev", "", diskName()if the result ≠ "" then put the resultend mouseUp</script>
<text>This will cause the specified folder window to be opened and the items listed to be selected and hilited. There is no corresponding menu command for this, but the Find command makes use of this event.The folder path is the pathname of the parent folder which holds all of the items in the item list. This cannot end in a colon unless it is a disk name.The item list is a single item name (not a pathname) or a comma delimited list of item names.If you want to select a disk, then the folder path should be empty and the item list should be the disk’s name which can have a colon after it’s name. Unfortunately, this event also opens the disk’s window. I call that a bug.</text>
</content>
<name>Reveal Selection</name>
<script></script>
</card>
card_4615.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msganswer "Are you sure you want to Restart your computer?" with "No" or "Yes"if it ≠ "Yes" then exit mouseUpFinderEvents "rest"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Restart</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event restarts the machine as if the Restart menu item in the Finder were selected. The Finder shuts down all open applications while allowing them to save their files and then restarts the machine.</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "rest"</text>
</content>
<name>Restart</name>
<script></script>
</card>
card_10237.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "grow", diskName(), "400,400"if the result ≠ "" then put the resultwait 5 secsFinderEvents "zoom", diskName(), 8if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Animation</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedput 50 into xrepeat until x > 400FinderEvents "grow", folderPath(), x & "," & xif the result ≠ "" then put the resultadd 50 to xend repeatFinderEvents "zoom", folderPath(), 8if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
<text>This event sets the size of the window to the height and width specified. It does not move the window. It will open the window if it is not already open.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.The height does not include the title bar of the window.</text>
</content>
<name>Resize Window</name>
<script></script>
</card>
card_6732.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgput folderPath() into fpif "Desktop Folder" is not in fp and "Trash" is not in fp thenanswer "This only works if this stack is on the desktop or in the trash."elsedoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "sput", fp, short name of this stackif the result ≠ "" then put the resultdoMenu HyperAppName()end ifend mouseUp</script>
<text>This event puts the specified items back in their original folders if they are either on the desktop or in the trash. This is the same as selecting the items and choosing Put Away from the File menu.The folder path is the pathname of the parent folder which holds all of the items in the item list. This cannot end in a colon unless it is a disk name.The item list is a single item name (not a pathname) or a comma delimited list of item names.</text>
</content>
<name>Put Away</name>
<script></script>
</card>
card_9197.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "pwin", folderPath()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Print Window</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "pwin", "window path"</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event brings up the Print dialog and then prints the current view of the specified window to the current printer.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.</text>
</content>
<name>Print Window</name>
<script></script>
</card>
card_5378.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgFinderEvents "spri", folderPath(), short name of this stackif the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Remote Mounted</name>
<script>on mouseUphide msg-- Change this sample to suit your local setup-- This next line assumes we have the entire remote disk mountedFinderEvents "spri", "Remote:SomeFolder", "SomeFile", "RemoteMac"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>310</top>
<right>141</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Remote via Alias</name>
<script>on mouseUphide msg-- change this sample to suit your local setup-- This next line assumes we are using a local alias to the folderFinderEvents "sope", "Local:SomeAlias", "SomeFile", "RemoteMac"if the result ≠ "" then put the resultend mouseUp</script>
<text><span class="style1">his event causes the Finder to print the files(s) specified as if they were selected and then Print chosen from the File menu. It is one of the two events that works across the network (the other is Open Selection).The folder path is the pathname of the parent folder which holds all of the items in the file list. This cannot end in a colon unless it is a disk name.The file list is a single file name (not a pathname) or a comma delimited list of file names.If you use the optional parameter to specify a remote Macintosh, then several more points need to be mentioned:• The remote disk containing the specified folder must be mounted </span><span class="style2">or</span><span class="style1">• The specified folder pathname must be an alias of the remote folder on a local disk (see the example buttons below).• The zone and colon can be omitted and will default to the local zone.</span></text>
</content>
<name>Print Selection</name>
<script></script>
</card>
card_8865.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "pgsu", folderPath()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Page Setup</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "pgsu", "window path"</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This opens the specified window and brings up the Page Setup dialog as if you chose the Page Setup menu item from the File menu while the window was in front.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.</text>
</content>
<name>Page Setup</name>
<script></script>
</card>
card_5122.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sope", "", diskName()if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>18</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Open System</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sope", sysFolder(), "System"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>19</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>310</top>
<right>141</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>System Folder</name>
<script>on mouseUphide msgget sysFolder()set itemDelimiter to ":"put last item of it into folderNamedelete last item of itif ":" is not in it then get it & ":" -- add colon if disk namedoMenu "Finder"wait until the suspendedFinderEvents "sope", it, folderNameif the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>20</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>149</left>
<top>250</top>
<right>276</right>
<bottom>272</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Open Sound Panel</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sope", sysFolder() & ":Control Panels", "Sound"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>21</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>149</left>
<top>280</top>
<right>276</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Remote Mounted</name>
<script>on mouseUphide msg-- Change this sample to suit your local setup-- This next line assumes we have the entire remote disk mountedFinderEvents "sope", "Remote:System Folder:Control Panels", "Sound", "RemoteMac"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>22</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>149</left>
<top>310</top>
<right>276</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Remote via Alias</name>
<script>on mouseUphide msg-- change this sample to suit your local setup-- This next line assumes we are using a local alias to the control panelFinderEvents "sope", "Local:CPAlias", "Sound", "RemoteMac"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Open Selection</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text><span class="style1">his is </span><span class="style2">the</span><span class="style1"> most useful FinderEvent. It causes the Finder to open the item(s) specified as if they were double clicked. It is one of the two events that works across the network (the other is Print Selection).The folder path is the pathname of the parent folder which holds all of the items in the item list. This cannot end in a colon unless it is a disk name.The item list is a single item name (not a pathname) or a comma delimited list of item names.If you want to open a disk, then the folder path should be empty and the item list should be the disk’s name which can have a colon after it’s name.If you use the optional parameter to specify a remote Macintosh, then several more points need to be mentioned:• The remote disk containing the specified folder must be mounted </span><span class="style2">or</span><span class="style1">• The specified folder pathname must be an alias of the remote folder on a local disk (see the example buttons below).• The zone and colon can be omitted and will default to the local zone.</span></text>
<script>on mouseUphide msgFinderEvents "srev", folderPath(), short name of this stackif the result ≠ "" then put the resultput item 4 of the screenRect + 20 into vFinderEvents "posn", folderPath(), "20," & vif the result ≠ "" then put the resultdoMenu "Finder"wait until the suspendedrepeat until v < 50FinderEvents "posn", folderPath(), "20," & vif the result ≠ "" then put the resultbeepsubtract 20 from vend repeatdoMenu HyperAppName()end mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>Move Window</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event sets the top left corner of the specified window to the point specified.The window path is the full pathname of the window’s folder. It cannot end in a colon unless it is a disk name.The offset refers to the top left corner of the window, which is under the window title bar, but above the double line and disk statistics in the window. Remember that 0,20 is the top left corner of the screen under the menu bar (which is normally 20 pixels tall). To have a window completely on the screen (so that you can drag and zoom it) you must make v at least 38 since the window title bar is 18 pixels tall.</text>
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "move", DiskName() & "Desktop Folder", stackPath(), "0,0"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Animated Icon</name>
<script>on mouseUphide msgFinderEvents "srev", folderPath(), short name of this stackdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"repeat for 8FinderEvents "move", folderPath(), stackPath(), "8,0"if the result ≠ "" then put the resultend repeatFinderEvents "move", folderPath(), stackPath(), "-64,0"if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
<text>This event drags a specified item from it’s current location to the specified destination folder and adds the specified point to it’s final location in the destination window. This ignores the snap to grid setting from the Views panel.The destination folder is the pathname of the folder which the item in the item path will be moved into. This cannot end in a colon unless it is a disk name.The item path list is the full pathname of the item to be moved or a list of full pathnames.The position of the item in the destination window is determined by adding the specified offset to the item’s offset in it’s current window. This current offset is impossible to determine programatically making the determination of the offset to specify a hit and miss proposition.</text>
</content>
<name>Move Selection</name>
<script></script>
</card>
card_5834.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sinf", folderPath(), short name of this stackif the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Disk Info</name>
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "sinf", "", diskName()if the result ≠ "" then put the resultend mouseUp</script>
<text>This event displays the Get Info window for the specified items. It is the same as selecting the items and choosing Get Info from the File menu.The folder path is the pathname of the parent folder which holds all of the items in the item list. This cannot end in a colon unless it is a disk name.The item list is a single item name (not a pathname) or a comma delimited list of item names.If you want to get info on a disk, then the folder path should be empty and the item list should be the disk’s name which can have a colon after it’s name.</text>
</content>
<name>Get Info</name>
<script></script>
</card>
card_6622.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "srev", folderPath(), short name of this stackif the result ≠ "" then put the resultFinderEvents "sdup", folderPath(), short name of this stackif the result ≠ "" then put the resultend mouseUp</script>
<text>This event duplicates the specified items in the specified folder. This event is the same as selecting the items and choosing Duplicate from the File menu.The folder path is the pathname of the parent folder which holds all of the items in the item list. This cannot end in a colon unless it is a disk name.The item list is a single item name (not a pathname) or a comma delimited list of item names.</text>
</content>
<name>Duplicate Selection</name>
<script></script>
</card>
card_7757.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "drag", diskName() & "Desktop Folder", stackPath(), "0,0"if the result ≠ "" then put the resultend mouseUp</script>
<text>This is essentially the copy command. It is the same as dragging the item to the point h,v in the destination folder with the option key down in the Finder.The destination folder is the pathname of the folder which the item in the item path will be copied into. This cannot end in a colon unless it is a disk name.The item path list is the full pathname of the item to be copied or a list of full pathnames.The position of the item in the destination window is determined by adding the specified offset to the item’s offset in it’s current window. This current offset is impossible to determine programatically making the determination of the offset to specify a hit and miss proposition.</text>
</content>
<name>Drag Selection</name>
<script></script>
</card>
card_8243.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "sope", sysFolder(), "System"if the result ≠ "" then put the resultwait 2 secsFinderEvents "clos", sysFolder() & ":System"if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Close Info</name>
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "sinf", sysFolder(), "System"if the result ≠ "" then put the resultwait 2 secsFinderEvents "clos", sysFolder() & ":System", 11if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>310</top>
<right>141</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Close Sharing</name>
<script>on mouseUphide msgdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"FinderEvents "sprv", "", diskName()if the result ≠ "" then put the resultwait 2 secsFinderEvents "clos", diskName(), 13if the result ≠ "" then put the resultdoMenu HyperAppName()end mouseUp</script>
<text>This event will close the window specified. This is the same as clicking in the close box of a window.The window path is the pathname of the folder or file the window is based on. It cannot end in a colon unless it is a disk name. For example, a regular window has a folder pathname as it’s window pathname, while a Get Info window has either a disk, a folder or a file as it’s window pathname and a Sharing window has either a disk, a folder or an application as it's window pathname.The optional window type is an integer that specifies the type of window you want closed. Regular folder windows have type 0, which is the default. Get Info windows have a type of 11 while Sharing windows have a type of 13.There is no way to get a list of currently open windows.</text>
</content>
<name>Close Window</name>
<script></script>
</card>
card_6935.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "srev", folderPath(), short name of this stackif the result ≠ "" then put the resultFinderEvents "sali", folderPath(), short name of this stackif the result ≠ "" then put the resultend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>14</left>
<top>280</top>
<right>141</right>
<bottom>302</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Alias Disk</name>
<script>on mouseUphide msgFinderEvents "sali", "", diskName()if the result ≠ "" then put the resultdoMenu "Hide" && HyperAppName()wait until the suspendeddoMenu "Finder"end mouseUp</script>
<text>This event creates an alias of the items listed in the folder specified as if they were selected and the Make Alias menu item were chosen from the File menu.The folder path is the pathname of the parent folder which holds all of the items in the item list. This should not end in a colon (although it can if it is a disk name).The item list is a single item name (not a pathname) or a comma delimited list of item names.If you want to create an alias of a hard disk then pass empty for the folder path and the hard disk name with or without a colon as the item list.</text>
</content>
<name>Alias Selection</name>
<script></script>
</card>
card_4313.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUphide msgdoMenu "Finder"wait until the suspendedFinderEvents "abou"if the result ≠ "" then put the resultend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>4</id>
<text>About</text>
</content>
<content>
<layer>background</layer>
<id>5</id>
<text>This event causes the Finder to display the dialog box which shows the amount of memory being used by each running program. This event is the same as pulling down the menu About This Macintosh.There is no way to close this window.</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>FinderEvents "abou"</text>
</content>
<name>About</name>
<script></script>
</card>
card_2978.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>186</top>
<right>161</right>
<bottom>200</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Alias Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>199</top>
<right>161</right>
<bottom>213</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Close Window</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>212</top>
<right>161</right>
<bottom>226</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Drag Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>225</top>
<right>161</right>
<bottom>239</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Duplicate Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>7</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>238</top>
<right>161</right>
<bottom>252</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Get Info</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>8</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>251</top>
<right>161</right>
<bottom>265</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Move Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>9</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>11</left>
<top>264</top>
<right>161</right>
<bottom>278</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Move Window</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>10</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>173</top>
<right>331</right>
<bottom>187</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Open Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>11</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>186</top>
<right>331</right>
<bottom>200</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Page Setup</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>12</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>199</top>
<right>331</right>
<bottom>213</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Print Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>13</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>212</top>
<right>331</right>
<bottom>226</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Print Window</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>14</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>225</top>
<right>331</right>
<bottom>239</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Put Away</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>15</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>238</top>
<right>331</right>
<bottom>252</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Resize Window</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>16</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>251</top>
<right>331</right>
<bottom>265</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Restart</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>17</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>264</top>
<right>331</right>
<bottom>278</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Reveal Selection</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>18</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>173</top>
<right>501</right>
<bottom>187</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Set View</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>19</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>186</top>
<right>501</right>
<bottom>200</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Sharing</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>20</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>199</top>
<right>501</right>
<bottom>213</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Show Clipboard</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>21</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>212</top>
<right>501</right>
<bottom>226</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Shut Down</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>22</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>225</top>
<right>501</right>
<bottom>239</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Sleep</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>23</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>351</left>
<top>238</top>
<right>501</right>
<bottom>252</bottom>
</rect>
<style>transparent</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>bold</textStyle>
<name>Zoom Window</name>
<script>on mouseUpgo cd short name of meend mouseUp</script>
</part>
<part>
<id>24</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>0</left>
<top>22</top>
<right>512</right>
<bottom>303</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Monaco</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>Source</name>
<script></script>
</part>
<part>
<id>25</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>9</left>
<top>310</top>
<right>158</right>
<bottom>332</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <false /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Pascal Source Code!</name>
<script>on mouseUpif the optionKey is down or cd fld "Source" = "" thenanswer file "Please select the source file to include:" of type textif it = "" then exit mouseUpput it into fileNameopen file fileNameread from file fileName until eofput it into cd fld "Source"close file fileNameelseask file "Where do you want the source saved:" with "FinderEvents.p"if it = "" then exit mouseUpput it into fileNameopen file fileNamewrite cd fld "Source" to file fileNameclose file fileNameend ifend mouseUp</script>
<text><span class="style1"> lot of people want the Finder to do some real basic things that it just doesn’t do right now. This explains a few of the limitations that the Finder operates under.The most notable of these is the desire to get the current Finder selection. You can’t. Yes, I know some people do, but they figured out how and know that it will break when the Finder gets changed. They have chosen to do that work and take that risk. You haven’t. You want it handed to you. You can’t have it that way. If you </span><span class="style10">really</span><span class="style1"> want to know then hop into Macsbug and find out. Save your notes because you will have to do it again when the Finder changes. Hopefully this will change when the Finder gets improved.The Finder does not use the Apple Event Manager. It does everything on the fly using only high level events. This means that common AE things won’t work. You can’t patch PACK 8 for example, because the Finder doesn’t call it. Ever.The early Registry makes claims to the effect that creating aliases, putting files away, and duplicating files returns a list of the new files. This XCMD doesn’t. This is because the Finder doesn’t either. Sorry, it lied.Finally, these are the </span><span class="style10">only</span><span class="style1"> events that the Finder understands. There are no secret events, I checked.</span></text>
</content>
<name></name>
<script>on toggleCaveats showOrHideget visible of cd fld "Caveats"if showOrHide = "" or (showOrHide = "show" and not it) or (showOrHide = "hide" and it) thenlock screenif it then put "barn door close" into theEffectelse put "barn door open" into theEffectset visible of cd fld "Caveats" to not itunlock screen with theEffectend ifend toggleCaveatson closeCardtoggleCaveats "Hide"pass closeCardend closeCardon pooprepeat with i = 1 to number of cds - 1if there is not a btn i then doMenu "New Button"set name of btn i to short name of cd i+1set textFont of btn i to Genevaset textSize of btn i to 9set textStyle of btn i to boldset style of btn i to transparentset script of btn i to "on mouseUp" & return & ¬"go cd short name of me" & return & ¬"end mouseUp"set width of btn i to 150set height of btn i to 14set loc of btn i to 512 div 2 + ((i-1) div 8 - 1)*170,180+13*((i-1) mod 8)end repeatchoose browse toolend poopon newButtonsend newButton to Hypercardend newButton</script>